package com.wan.dao;

import com.wan.entity.CompetitionType;
import com.wan.vo.CompetitionTypeVo;

import java.util.List;

public interface CompetitionTypeMapper {

    /**
     * 查询竞赛列表
     * @param competitionTypeVo
     * @return
     */
    List<CompetitionType> findCompetitionTypeList(CompetitionTypeVo competitionTypeVo);

    /**
     * 添加竞赛
     * @param competitionType
     * @return
     */
    int addCompetitionType(CompetitionType competitionType);

    /**
     * 修改竞赛
     * @param competitionType
     * @return
     */
    int updateCompetitionType(CompetitionType competitionType);

}
